package com.springdoor.goods.domain;

import com.springdoor.common.annotation.Excel;
import com.springdoor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 商品类型属性关联对象 sprd_goods_type_attr
 * 
 * @author llshs
 * @date 2024-04-30
 */
public class SprdGoodsTypeAttr implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 类型id */
    @Excel(name = "类型id")
    private Long typeId;

    /** 属性id */
    @Excel(name = "属性id")
    private Long attrId;
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setAttrId(Long attrId) 
    {
        this.attrId = attrId;
    }

    public Long getAttrId()
    {
        return attrId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("attrId", getAttrId())
            .toString();
    }
}
